﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;

namespace hyjiacan.util.web.wp
{
    internal class WPData
    {
        /// <summary>
        /// 查询所有的文章
        /// </summary>
        /// <returns></returns>
        public DataTable GetPosts()
        {
            return DBUtil.Select("select * from {prefix}posts where post_type='post'");
        }
    }
}
